#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2018/8/16 11:52
# @Author  : youfeng


class RequestEntity(object):
    def __init__(self, host):
        self.host = host
        self.request_dict = {}

    def get_request_point(self, tag):
        if tag in self.request_dict:
            return self.request_dict[tag]

        return 0

    def set_request_point(self, tag, point):
        self.request_dict[tag] = point
